import { DemoBlock } from 'demos'
import { ImageLoad } from 'grace-design'
import React from 'react'

export default () => {
  return (
    <>
      <DemoBlock title="图片占位显示">
        <ImageLoad
          src={
            'https://images.unsplash.com/photo-1493666438817-866a91353ca9?ixlib=rb-0.3.5&q=80&fm=jpg&crop=faces&fit=crop&h=200&w=200&s=b616b2c5b373a80ffc9636ba24f7a4a9'
          }
          defaultSource={
            'https://twmw.oss-ap-southeast-1.aliyuncs.com/aliyun-oss/avatar.png'
          }
        />
      </DemoBlock>
    </>
  )
}
